<script>-- on openCard-- hide bg button "//////"-- put the number of cards in this stack into maxC-- if the number of this card is maxC then-- show bg button "//////"-- else-- put the short name of the next card into xName-- -- put xName-- if the number of characters in xName >= 2 then-- if the first word of xName is not "card" then-- show bg button "//////"-- end if-- end if-- end if-- pass openCard-- end openCard</script>